﻿using MediatR;
using RearLivestock.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace RearLivestock.Beginning.Api.Application.Command.Farrowing
{
    public class QueryFarrowingsCommand : IRequest<Result<PageResultDto<FarrowingsDto>>>
    {
        ///// <summary>
        ///// 开始分娩日期
        ///// </summary>
        //public DateTime?KaiDate { get; set; }
        ///// <summary>
        ///// 结束日期
        ///// </summary>
        //public DateTime?EndDate { get; set; }
        /// <summary>
        /// 基本信息Id(耳号)
        /// </summary>
        public int? BasicInforId { get; set; }
        /// <summary>
        /// 转入栋舍id
        /// </summary>
        public int? BedroomId { get; set; }
        /// <summary>
        /// 转出栋舍
        /// </summary>
        public string? TurnBuilding { get; set; }
        /// <summary>
        /// 窝号
        /// </summary>
        public string? NestNumber { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 页索引
        /// </summary>
        public int pageSize { get; set; }
    }
}
